using System;
using System.Collections;

namespace SuDokuSolution
{
    
  
    /// The numeric data of the cell
  
    public class CellData
	{
		public bool readOnly;
        Constants one = new Constants();
   
        /// The No in this cell in Complete Grid 
   
        public  int originalNb;
        
     
        /// Candidate nbs if the cell is not filled
      
        public ArrayList candidateNb;
        
      
        /// The  no in while solving problem or for temporary use
    
        public int problemNb;

        public CellData()
		{
            readOnly=false;
            originalNb=problemNb=one.NoNumber;
            candidateNb=new ArrayList();
        }
		
		public void Dispose( bool disposing )
		{
			if( disposing )
			{
				if (candidateNb != null) 
				{
					candidateNb=null;
				}
			}
		}
	}

}
